using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace Editor
{
    public class BlockMenuItem : MenuItem
    {
        public BlockMenuItem(MapArea mapArea, Texture2D spriteImage, Vector2 position) : base(mapArea, spriteImage, position) { }

        public override void ClickAction()
        {
            base.mapArea.bUseMapObject = false;
            base.mapArea.CurrentBlockType = MapArea.BlockType.Block;
        }
    }
}
